Standard Convention: Real = cos(θ) [Horizontal], Imag = sin(θ) [Vertical]. Origin at center.
Fourier analysis decomposes any periodic waveform into a sum of simple sine waves: a fundamental frequency and its harmonics (integer multiples). Each component has an amplitude and phase. This toolkit lets you adjust these components to build waveforms or analyze drawn ones.
Total Harmonic Distortion (THD) measures the distortion caused by these harmonics relative to the fundamental frequency. It's calculated as the square root of the sum of the squares of all harmonic amplitudes, divided by the amplitude of the fundamental. A pure sine wave has 0% THD. Higher THD indicates a more distorted waveform.
THD = (sqrt(H2² + H3² + H4² + ...)) / H1 * 100%